package com.oig.sys.base.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Schema
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ParamVo {

    @Schema(description = "编码")
    private String code;
    @Schema(description = "名称")
    private String name;
    @Schema(description = "类型")
    private String type;
    @Schema(description = "参数值")
    private String value;
    @Schema(description = "说明")
    private String remark;
    @Schema(description = "状态")
    private String status;
    @Schema(description = "最后更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @Schema(description = "最后更新人")
    private String updateUser;
    @Schema(description = "是否显示 0-否 1-是")
    private String showFlag;
    @Schema(description = "是否可修改")
    private String modifyFlag;

    @Schema(description = "是否缓存 0-否 1-是")
    private String cacheFlag;
    @Schema(description = "是否id生成序号 0-否 1-是 为1是每日0点 value值刷新为0")
    private String indexFlag;
}
